<?php
namespace app\common\model\apiinput;
use think\Model;
use app\common\model\orderdata\Goods;
class Apiyunkeaccounts extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'api_yunke_accounts';
    protected $pk = 'wechatId';

    public function userinfo(){
        return $this->hasOne('app\common\model\apiinput\api_yunke_friends','id','talker');
    }

}
